package com.ruoyi.teacher.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 老师日报对象 tea_daily
 * 
 * @author jlx
 * @date 2023-02-01
 */
public class TeaDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日报id */
    private Long dailyId;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;

    /** 老师名称 */
    @Excel(name = "老师名称")
    private String teacherName;

    /** 日报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dailyTime;

    /** 日报内容 */
    @Excel(name = "日报内容")
    private String dailyContent;

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public void setDailyId(Long dailyId)
    {
        this.dailyId = dailyId;
    }

    public Long getDailyId() 
    {
        return dailyId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setDailyTime(Date dailyTime) 
    {
        this.dailyTime = dailyTime;
    }

    public Date getDailyTime() 
    {
        return dailyTime;
    }
    public void setDailyContent(String dailyContent) 
    {
        this.dailyContent = dailyContent;
    }

    public String getDailyContent() 
    {
        return dailyContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dailyId", getDailyId())
            .append("teacherName", getTeacherName())
            .append("teacherId", getTeacherId())
            .append("dailyTime", getDailyTime())
            .append("createTime", getCreateTime())
            .append("dailyContent", getDailyContent())
            .toString();
    }
}
